home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / f90 / ishftc.z / ishftc
Encoding:
Text File  |  2002-10-03  |  3.0 KB  |  63 lines

  1. ISHFTC(3I)                                            Last changed: 4-13-99
  2.  
  3.  
  4. NNAAMMEE
  5.      IISSHHFFTTCC, IIIISSHHFFTTCC, JJIISSHHFFTTCC, KKIISSHHFFTTCC - Performs a circular shift of the
  6.      rightmost bits
  7.  
  8. SSYYNNOOPPSSIISS
  9.      IISSHHFFTTCC (([II==]_i,, [SSHHIIFFTT==]_s_h_i_f_t [,,[SSIIZZEE==]_s_i_z_e]))
  10.      IIIISSHHFFTTCC (([II==]_i,, [SSHHIIFFTT==]_s_h_i_f_t [,,[SSIIZZEE==]_s_i_z_e]))
  11.      JJIISSHHFFTTCC (([II==]_i,, [SSHHIIFFTT==]_s_h_i_f_t [,,[SSIIZZEE==]_s_i_z_e]))
  12.      KKIISSHHFFTTCC (([II==]_i,, [SSHHIIFFTT==]_s_h_i_f_t [,,[SSIIZZEE==]_s_i_z_e]))
  13.  
  14. IIMMPPLLEEMMEENNTTAATTIIOONN
  15.      UNICOS, UNICOS/mk, IRIX systems
  16.  
  17.      CF90, MIPSpro 7 Fortran 90, MIPSpro Fortran 77
  18.  
  19. SSTTAANNDDAARRDDSS
  20.      Fortran
  21.  
  22.      Fortran extensions:  IIIISSHHFFTTCC, JJIISSHHFFTTCC, KKIISSHHFFTTCC
  23.  
  24. DDEESSCCRRIIPPTTIIOONN
  25.      The IISSHHFFTTCC, IIIISSHHFFTTCC, JJIISSHHFFTTCC, and KKIISSHHFFTTCC intrinsic functions perform
  26.      a circular shift of the rightmost bits.  They accept the following
  27.      arguments:
  28.  
  29.      _i         Must be of type integer.  For IIIISSHHFFTTCC, must be of type
  30.                integer (KIND=2).  For JJIISSHHFFTTCC, must be of type integer
  31.                (KIND=4).  For KKIISSHHFFTTCC, must be of type integer (KIND=8).
  32.  
  33.      _s_h_i_f_t     Must be of type integer.  The absolute value of _s_h_i_f_t must
  34.                be less than or equal to _s_i_z_e.
  35.  
  36.      _s_i_z_e      Must be of type integer.  The value of _s_i_z_e must be positive
  37.                and must not exceed BBIITT__SSIIZZEE((_i)).  If _s_i_z_e is absent, it is
  38.                as if it were present with the value of BBIITT__SSIIZZEE(_i).
  39.  
  40.      These are elemental intrinsic functions.  The names of these
  41.      intrinsics cannot be passed as arguments.
  42.  
  43. RREETTUURRNN VVAALLUUEESS
  44.      The result type and type parameter are the same as _i.  The result has
  45.      the value obtained by shifting the _s_i_z_e rightmost bits of _i circularly
  46.      by _s_h_i_f_t positions.  If _s_h_i_f_t is positive, the shift is to the left;
  47.      if _s_h_i_f_t is negative, the shift is to the right; and if _s_h_i_f_t is zero,
  48.      no shift is performed.  No bits are lost.  The unshifted bits are
  49.      unaltered.
  50.  
  51.      The bit model defines the interpretation of an integer value as a
  52.      sequence of bits.  For more information on the model, see the
  53.      MMOODDEELLSS(3I) man page.
  54.  
  55. EEXXAAMMPPLLEESS
  56.      IISSHHFFTTCC((33,,22,,33)) has the value 5.
  57.  
  58. SSEEEE AALLSSOO
  59.      MMOODDEELLSS(3I)
  60.  
  61.      _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l for the printed version of this
  62.      man page.
  63.